package com.ag.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TbUser entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TB_USER", schema = "dbo", catalog = "AGDB")
public class TbUser implements java.io.Serializable {

	// Fields

	private String UId;
	private TbUserState tbUserState;
	private String UName;
	private String UPassword;
	private Date ULoginTime;
	private String UFax;
	private String UTel;
	private String UPhone;
	private String UMail;
	private String a;
	private String b;
	private String c;
	private String UCtiId;
	private String UCtiNumber;
	private String UCtiQueue;
	private String UCtiPsw;
	private String oaDescri;
	private String oaQq;
	private String oaMsn;
	private String oaCertificateId;
	private String oaPositions;
	private String oaRoles;
	private String d;
	private String e;
	private String f;
	private Integer oaGender;
	private Integer oaSex;
	private String oaIdCard;
	private String oaAddress;
	private String oaZipCode;
	private String oaGroups;
	private String oaCode;
	private String oaHomeNumber;
	private String oaOfficeNumber;
	private Integer oaIsShow;
	private Integer oaIsUpdae;			//同步的时候用到
	private Set<TbEventmackup> tbEventmackups = new HashSet<TbEventmackup>(0);
	private Set<TbConnectLog> tbConnectLogs = new HashSet<TbConnectLog>(0);
	private Set<TbEventReport> tbEventReports = new HashSet<TbEventReport>(0);
	private Set<TbSched> tbScheds = new HashSet<TbSched>(0);
	private Set<TbProposeRecord> tbProposeRecordsForPrCheckId = new HashSet<TbProposeRecord>(
			0);
	private Set<TbEvent> tbEventsForUId = new HashSet<TbEvent>(0);
	private Set<TbUserContact> tbUserContacts = new HashSet<TbUserContact>(0);
	private Set<TbExpert> tbExperts = new HashSet<TbExpert>(0);
	private Set<TbTask> tbTasks = new HashSet<TbTask>(0);
	private Set<TbUserDept> tbUserDepts = new HashSet<TbUserDept>(0);
	private Set<TbUserDept> tbUserDepts_1 = new HashSet<TbUserDept>(0);
	private Set<TbUserRole> tbUserRoles = new HashSet<TbUserRole>(0);
	private Set<TbEvent> tbEventsForTbUId = new HashSet<TbEvent>(0);
	private Set<TbEventReportAudit> tbEventReportAudits = new HashSet<TbEventReportAudit>(
			0);
	private Set<TbEventGrade> tbEventGradesForEgRequser = new HashSet<TbEventGrade>(
			0);
	private Set<TbEventPlan> tbEventPlansForRequireId = new HashSet<TbEventPlan>(
			0);
	private Set<TbEventGrade> tbEventGradesForRgAudit = new HashSet<TbEventGrade>(
			0);
	private Set<TbPropose> tbProposesForPCommander = new HashSet<TbPropose>(0);
	private Set<TbDisposalAdvice> tbDisposalAdvicesForSubmitUId = new HashSet<TbDisposalAdvice>(
			0);
	private Set<TbDisposalAdvice> tbDisposalAdvicesForApplyUId = new HashSet<TbDisposalAdvice>(
			0);
	private Set<TbPropose> tbProposesForPTeamLeader = new HashSet<TbPropose>(0);
	private Set<TbPropose> tbProposesForPViceCommander = new HashSet<TbPropose>(
			0);
	private Set<TbLoginRecord> tbLoginRecords = new HashSet<TbLoginRecord>(0);
	private Set<TbProposeRecord> tbProposeRecordsForPrId = new HashSet<TbProposeRecord>(
			0);
	private Set<TbEventPlan> tbEventPlansForEpPeople = new HashSet<TbEventPlan>(
			0);
	private Set<TbEventCleanup> tbEventCleanups = new HashSet<TbEventCleanup>(0);
	private Set<TbDisposalAdvice> tbDisposalAdvicesForAdviceUId = new HashSet<TbDisposalAdvice>(
			0);
//	private Set<TbUrealGroup> groups = new HashSet<TbUrealGroup>(0);	//虚拟组
	// Constructors

	/** default constructor */
	public TbUser() {
	}

	/** minimal constructor */
	public TbUser(String UId, String UName) {
		this.UId = UId;
		this.UName = UName;
	}

	/** full constructor */
	public TbUser(String UId, TbUserState tbUserState, String UName,
			String UPassword, Date ULoginTime, String UFax, String UTel,
			String UPhone, String UMail, String a, String b, String c,
			String UCtiId, String UCtiNumber, String UCtiQueue, String UCtiPsw,
			String oaDescri, String oaQq, String oaMsn, String oaCertificateId,
			String oaPositions, String oaRoles, String d, String e, String f,
			Integer oaGender, Integer oaSex, String oaIdCard, String oaAddress,
			String oaZipCode, String oaGroups, String oaCode,
			String oaHomeNumber, String oaOfficeNumber, Integer oaIsShow,
			Set<TbEventmackup> tbEventmackups, Set<TbConnectLog> tbConnectLogs,
			Set<TbEventReport> tbEventReports, Set<TbSched> tbScheds,
			Set<TbProposeRecord> tbProposeRecordsForPrCheckId,
			Set<TbEvent> tbEventsForUId, Set<TbUserContact> tbUserContacts,
			Set<TbExpert> tbExperts, Set<TbTask> tbTasks,
			Set<TbUserDept> tbUserDepts, Set<TbUserDept> tbUserDepts_1,
			Set<TbUserRole> tbUserRoles, Set<TbEvent> tbEventsForTbUId,
			Set<TbEventReportAudit> tbEventReportAudits,
			Set<TbEventGrade> tbEventGradesForEgRequser,
			Set<TbEventPlan> tbEventPlansForRequireId,
			Set<TbEventGrade> tbEventGradesForRgAudit,
			Set<TbPropose> tbProposesForPCommander,
			Set<TbDisposalAdvice> tbDisposalAdvicesForSubmitUId,
			Set<TbDisposalAdvice> tbDisposalAdvicesForApplyUId,
			Set<TbPropose> tbProposesForPTeamLeader,
			Set<TbPropose> tbProposesForPViceCommander,
			Set<TbLoginRecord> tbLoginRecords,
			Set<TbProposeRecord> tbProposeRecordsForPrId,
			Set<TbEventPlan> tbEventPlansForEpPeople,
			Set<TbEventCleanup> tbEventCleanups,
			Set<TbDisposalAdvice> tbDisposalAdvicesForAdviceUId) {
		this.UId = UId;
		this.tbUserState = tbUserState;
		this.UName = UName;
		this.UPassword = UPassword;
		this.ULoginTime = ULoginTime;
		this.UFax = UFax;
		this.UTel = UTel;
		this.UPhone = UPhone;
		this.UMail = UMail;
		this.a = a;
		this.b = b;
		this.c = c;
		this.UCtiId = UCtiId;
		this.UCtiNumber = UCtiNumber;
		this.UCtiQueue = UCtiQueue;
		this.UCtiPsw = UCtiPsw;
		this.oaDescri = oaDescri;
		this.oaQq = oaQq;
		this.oaMsn = oaMsn;
		this.oaCertificateId = oaCertificateId;
		this.oaPositions = oaPositions;
		this.oaRoles = oaRoles;
		this.d = d;
		this.e = e;
		this.f = f;
		this.oaGender = oaGender;
		this.oaSex = oaSex;
		this.oaIdCard = oaIdCard;
		this.oaAddress = oaAddress;
		this.oaZipCode = oaZipCode;
		this.oaGroups = oaGroups;
		this.oaCode = oaCode;
		this.oaHomeNumber = oaHomeNumber;
		this.oaOfficeNumber = oaOfficeNumber;
		this.oaIsShow = oaIsShow;
		this.tbEventmackups = tbEventmackups;
		this.tbConnectLogs = tbConnectLogs;
		this.tbEventReports = tbEventReports;
		this.tbScheds = tbScheds;
		this.tbProposeRecordsForPrCheckId = tbProposeRecordsForPrCheckId;
		this.tbEventsForUId = tbEventsForUId;
		this.tbUserContacts = tbUserContacts;
		this.tbExperts = tbExperts;
		this.tbTasks = tbTasks;
		this.tbUserDepts = tbUserDepts;
		this.tbUserDepts_1 = tbUserDepts_1;
		this.tbUserRoles = tbUserRoles;
		this.tbEventsForTbUId = tbEventsForTbUId;
		this.tbEventReportAudits = tbEventReportAudits;
		this.tbEventGradesForEgRequser = tbEventGradesForEgRequser;
		this.tbEventPlansForRequireId = tbEventPlansForRequireId;
		this.tbEventGradesForRgAudit = tbEventGradesForRgAudit;
		this.tbProposesForPCommander = tbProposesForPCommander;
		this.tbDisposalAdvicesForSubmitUId = tbDisposalAdvicesForSubmitUId;
		this.tbDisposalAdvicesForApplyUId = tbDisposalAdvicesForApplyUId;
		this.tbProposesForPTeamLeader = tbProposesForPTeamLeader;
		this.tbProposesForPViceCommander = tbProposesForPViceCommander;
		this.tbLoginRecords = tbLoginRecords;
		this.tbProposeRecordsForPrId = tbProposeRecordsForPrId;
		this.tbEventPlansForEpPeople = tbEventPlansForEpPeople;
		this.tbEventCleanups = tbEventCleanups;
		this.tbDisposalAdvicesForAdviceUId = tbDisposalAdvicesForAdviceUId;
	}

	// Property accessors
	@Id
	@Column(name = "U_ID", unique = true, nullable = false, length = 50)
	public String getUId() {
		return this.UId;
	}

	public void setUId(String UId) {
		this.UId = UId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "US_ID")
	public TbUserState getTbUserState() {
		return this.tbUserState;
	}

	public void setTbUserState(TbUserState tbUserState) {
		this.tbUserState = tbUserState;
	}

	@Column(name = "U_NAME", nullable = false, length = 50)
	public String getUName() {
		return this.UName;
	}

	public void setUName(String UName) {
		this.UName = UName;
	}

	@Column(name = "U_PASSWORD", length = 32)
	public String getUPassword() {
		return this.UPassword;
	}

	public void setUPassword(String UPassword) {
		this.UPassword = UPassword;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "U_LOGIN_TIME", length = 23)
	public Date getULoginTime() {
		return this.ULoginTime;
	}

	public void setULoginTime(Date ULoginTime) {
		this.ULoginTime = ULoginTime;
	}

	@Column(name = "U_FAX", length = 20)
	public String getUFax() {
		return this.UFax;
	}

	public void setUFax(String UFax) {
		this.UFax = UFax;
	}

	@Column(name = "U_TEL", length = 40)
	public String getUTel() {
		return this.UTel;
	}

	public void setUTel(String UTel) {
		this.UTel = UTel;
	}

	@Column(name = "U_PHONE", length = 12)
	public String getUPhone() {
		return this.UPhone;
	}

	public void setUPhone(String UPhone) {
		this.UPhone = UPhone;
	}

	@Column(name = "U_MAIL", length = 32)
	public String getUMail() {
		return this.UMail;
	}

	public void setUMail(String UMail) {
		this.UMail = UMail;
	}

	@Column(name = "A", length = 50)
	public String getA() {
		return this.a;
	}

	public void setA(String a) {
		this.a = a;
	}

	@Column(name = "B", length = 50)
	public String getB() {
		return this.b;
	}

	public void setB(String b) {
		this.b = b;
	}

	@Column(name = "C", length = 50)
	public String getC() {
		return this.c;
	}

	public void setC(String c) {
		this.c = c;
	}

	@Column(name = "U_CTI_ID", length = 20)
	public String getUCtiId() {
		return this.UCtiId;
	}

	public void setUCtiId(String UCtiId) {
		this.UCtiId = UCtiId;
	}

	@Column(name = "U_CTI_NUMBER", length = 20)
	public String getUCtiNumber() {
		return this.UCtiNumber;
	}

	public void setUCtiNumber(String UCtiNumber) {
		this.UCtiNumber = UCtiNumber;
	}

	@Column(name = "U_CTI_QUEUE", length = 20)
	public String getUCtiQueue() {
		return this.UCtiQueue;
	}

	public void setUCtiQueue(String UCtiQueue) {
		this.UCtiQueue = UCtiQueue;
	}

	@Column(name = "U_CTI_PSW", length = 20)
	public String getUCtiPsw() {
		return this.UCtiPsw;
	}

	public void setUCtiPsw(String UCtiPsw) {
		this.UCtiPsw = UCtiPsw;
	}

	@Column(name = "OA_DESCRI", length = 4000)
	public String getOaDescri() {
		return this.oaDescri;
	}

	public void setOaDescri(String oaDescri) {
		this.oaDescri = oaDescri;
	}

	@Column(name = "OA_QQ", length = 20)
	public String getOaQq() {
		return this.oaQq;
	}

	public void setOaQq(String oaQq) {
		this.oaQq = oaQq;
	}

	@Column(name = "OA_MSN", length = 100)
	public String getOaMsn() {
		return this.oaMsn;
	}

	public void setOaMsn(String oaMsn) {
		this.oaMsn = oaMsn;
	}

	@Column(name = "OA_CERTIFICATE_ID", length = 500)
	public String getOaCertificateId() {
		return this.oaCertificateId;
	}

	public void setOaCertificateId(String oaCertificateId) {
		this.oaCertificateId = oaCertificateId;
	}

	@Column(name = "OA_POSITIONS", length = 500)
	public String getOaPositions() {
		return this.oaPositions;
	}

	public void setOaPositions(String oaPositions) {
		this.oaPositions = oaPositions;
	}

	@Column(name = "OA_ROLES", length = 500)
	public String getOaRoles() {
		return this.oaRoles;
	}

	public void setOaRoles(String oaRoles) {
		this.oaRoles = oaRoles;
	}

	@Column(name = "D", length = 50)
	public String getD() {
		return this.d;
	}

	public void setD(String d) {
		this.d = d;
	}

	@Column(name = "E", length = 50)
	public String getE() {
		return this.e;
	}

	public void setE(String e) {
		this.e = e;
	}

	@Column(name = "F", length = 50)
	public String getF() {
		return this.f;
	}

	public void setF(String f) {
		this.f = f;
	}

	@Column(name = "OA_GENDER")
	public Integer getOaGender() {
		return this.oaGender;
	}

	public void setOaGender(Integer oaGender) {
		this.oaGender = oaGender;
	}

	@Column(name = "OA_SEX")
	public Integer getOaSex() {
		return this.oaSex;
	}

	public void setOaSex(Integer oaSex) {
		this.oaSex = oaSex;
	}

	@Column(name = "OA_ID_CARD", length = 50)
	public String getOaIdCard() {
		return this.oaIdCard;
	}

	public void setOaIdCard(String oaIdCard) {
		this.oaIdCard = oaIdCard;
	}

	@Column(name = "OA_ADDRESS", length = 500)
	public String getOaAddress() {
		return this.oaAddress;
	}

	public void setOaAddress(String oaAddress) {
		this.oaAddress = oaAddress;
	}

	@Column(name = "OA_ZIP_CODE", length = 50)
	public String getOaZipCode() {
		return this.oaZipCode;
	}

	public void setOaZipCode(String oaZipCode) {
		this.oaZipCode = oaZipCode;
	}

	@Column(name = "OA_GROUPS", length = 500)
	public String getOaGroups() {
		return this.oaGroups;
	}

	public void setOaGroups(String oaGroups) {
		this.oaGroups = oaGroups;
	}

	@Column(name = "OA_CODE", length = 500)
	public String getOaCode() {
		return this.oaCode;
	}

	public void setOaCode(String oaCode) {
		this.oaCode = oaCode;
	}

	@Column(name = "OA_HOME_NUMBER", length = 20)
	public String getOaHomeNumber() {
		return this.oaHomeNumber;
	}

	public void setOaHomeNumber(String oaHomeNumber) {
		this.oaHomeNumber = oaHomeNumber;
	}

	@Column(name = "OA_OFFICE_NUMBER", length = 50)
	public String getOaOfficeNumber() {
		return this.oaOfficeNumber;
	}

	public void setOaOfficeNumber(String oaOfficeNumber) {
		this.oaOfficeNumber = oaOfficeNumber;
	}

	@Column(name = "OA_IS_SHOW")
	public Integer getOaIsShow() {
		return this.oaIsShow;
	}

	public void setOaIsShow(Integer oaIsShow) {
		this.oaIsShow = oaIsShow;
	}

	@Column(name = "OA_IS_UPDATE")
	public Integer getOaIsUpdae() {
		return oaIsUpdae;
	}

	public void setOaIsUpdae(Integer oaIsUpdae) {
		this.oaIsUpdae = oaIsUpdae;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbEventmackup> getTbEventmackups() {
		return this.tbEventmackups;
	}

	public void setTbEventmackups(Set<TbEventmackup> tbEventmackups) {
		this.tbEventmackups = tbEventmackups;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbConnectLog> getTbConnectLogs() {
		return this.tbConnectLogs;
	}

	public void setTbConnectLogs(Set<TbConnectLog> tbConnectLogs) {
		this.tbConnectLogs = tbConnectLogs;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbEventReport> getTbEventReports() {
		return this.tbEventReports;
	}

	public void setTbEventReports(Set<TbEventReport> tbEventReports) {
		this.tbEventReports = tbEventReports;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbSched> getTbScheds() {
		return this.tbScheds;
	}

	public void setTbScheds(Set<TbSched> tbScheds) {
		this.tbScheds = tbScheds;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByPrCheckId")
	public Set<TbProposeRecord> getTbProposeRecordsForPrCheckId() {
		return this.tbProposeRecordsForPrCheckId;
	}

	public void setTbProposeRecordsForPrCheckId(
			Set<TbProposeRecord> tbProposeRecordsForPrCheckId) {
		this.tbProposeRecordsForPrCheckId = tbProposeRecordsForPrCheckId;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByUId")
	public Set<TbEvent> getTbEventsForUId() {
		return this.tbEventsForUId;
	}

	public void setTbEventsForUId(Set<TbEvent> tbEventsForUId) {
		this.tbEventsForUId = tbEventsForUId;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbUserContact> getTbUserContacts() {
		return this.tbUserContacts;
	}

	public void setTbUserContacts(Set<TbUserContact> tbUserContacts) {
		this.tbUserContacts = tbUserContacts;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbExpert> getTbExperts() {
		return this.tbExperts;
	}

	public void setTbExperts(Set<TbExpert> tbExperts) {
		this.tbExperts = tbExperts;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbTask> getTbTasks() {
		return this.tbTasks;
	}

	public void setTbTasks(Set<TbTask> tbTasks) {
		this.tbTasks = tbTasks;
	}

	@ManyToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUsers")
	public Set<TbUserDept> getTbUserDepts() {
		return this.tbUserDepts;
	}

	public void setTbUserDepts(Set<TbUserDept> tbUserDepts) {
		this.tbUserDepts = tbUserDepts;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbUserDept> getTbUserDepts_1() {
		return this.tbUserDepts_1;
	}

	public void setTbUserDepts_1(Set<TbUserDept> tbUserDepts_1) {
		this.tbUserDepts_1 = tbUserDepts_1;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbUserRole> getTbUserRoles() {
		return this.tbUserRoles;
	}

	public void setTbUserRoles(Set<TbUserRole> tbUserRoles) {
		this.tbUserRoles = tbUserRoles;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByTbUId")
	public Set<TbEvent> getTbEventsForTbUId() {
		return this.tbEventsForTbUId;
	}

	public void setTbEventsForTbUId(Set<TbEvent> tbEventsForTbUId) {
		this.tbEventsForTbUId = tbEventsForTbUId;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbEventReportAudit> getTbEventReportAudits() {
		return this.tbEventReportAudits;
	}

	public void setTbEventReportAudits(
			Set<TbEventReportAudit> tbEventReportAudits) {
		this.tbEventReportAudits = tbEventReportAudits;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByEgRequser")
	public Set<TbEventGrade> getTbEventGradesForEgRequser() {
		return this.tbEventGradesForEgRequser;
	}

	public void setTbEventGradesForEgRequser(
			Set<TbEventGrade> tbEventGradesForEgRequser) {
		this.tbEventGradesForEgRequser = tbEventGradesForEgRequser;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByRequireId")
	public Set<TbEventPlan> getTbEventPlansForRequireId() {
		return this.tbEventPlansForRequireId;
	}

	public void setTbEventPlansForRequireId(
			Set<TbEventPlan> tbEventPlansForRequireId) {
		this.tbEventPlansForRequireId = tbEventPlansForRequireId;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByRgAudit")
	public Set<TbEventGrade> getTbEventGradesForRgAudit() {
		return this.tbEventGradesForRgAudit;
	}

	public void setTbEventGradesForRgAudit(
			Set<TbEventGrade> tbEventGradesForRgAudit) {
		this.tbEventGradesForRgAudit = tbEventGradesForRgAudit;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByPCommander")
	public Set<TbPropose> getTbProposesForPCommander() {
		return this.tbProposesForPCommander;
	}

	public void setTbProposesForPCommander(
			Set<TbPropose> tbProposesForPCommander) {
		this.tbProposesForPCommander = tbProposesForPCommander;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserBySubmitUId")
	public Set<TbDisposalAdvice> getTbDisposalAdvicesForSubmitUId() {
		return this.tbDisposalAdvicesForSubmitUId;
	}

	public void setTbDisposalAdvicesForSubmitUId(
			Set<TbDisposalAdvice> tbDisposalAdvicesForSubmitUId) {
		this.tbDisposalAdvicesForSubmitUId = tbDisposalAdvicesForSubmitUId;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByApplyUId")
	public Set<TbDisposalAdvice> getTbDisposalAdvicesForApplyUId() {
		return this.tbDisposalAdvicesForApplyUId;
	}

	public void setTbDisposalAdvicesForApplyUId(
			Set<TbDisposalAdvice> tbDisposalAdvicesForApplyUId) {
		this.tbDisposalAdvicesForApplyUId = tbDisposalAdvicesForApplyUId;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByPTeamLeader")
	public Set<TbPropose> getTbProposesForPTeamLeader() {
		return this.tbProposesForPTeamLeader;
	}

	public void setTbProposesForPTeamLeader(
			Set<TbPropose> tbProposesForPTeamLeader) {
		this.tbProposesForPTeamLeader = tbProposesForPTeamLeader;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByPViceCommander")
	public Set<TbPropose> getTbProposesForPViceCommander() {
		return this.tbProposesForPViceCommander;
	}

	public void setTbProposesForPViceCommander(
			Set<TbPropose> tbProposesForPViceCommander) {
		this.tbProposesForPViceCommander = tbProposesForPViceCommander;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbLoginRecord> getTbLoginRecords() {
		return this.tbLoginRecords;
	}

	public void setTbLoginRecords(Set<TbLoginRecord> tbLoginRecords) {
		this.tbLoginRecords = tbLoginRecords;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByPrId")
	public Set<TbProposeRecord> getTbProposeRecordsForPrId() {
		return this.tbProposeRecordsForPrId;
	}

	public void setTbProposeRecordsForPrId(
			Set<TbProposeRecord> tbProposeRecordsForPrId) {
		this.tbProposeRecordsForPrId = tbProposeRecordsForPrId;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByEpPeople")
	public Set<TbEventPlan> getTbEventPlansForEpPeople() {
		return this.tbEventPlansForEpPeople;
	}

	public void setTbEventPlansForEpPeople(
			Set<TbEventPlan> tbEventPlansForEpPeople) {
		this.tbEventPlansForEpPeople = tbEventPlansForEpPeople;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUser")
	public Set<TbEventCleanup> getTbEventCleanups() {
		return this.tbEventCleanups;
	}

	public void setTbEventCleanups(Set<TbEventCleanup> tbEventCleanups) {
		this.tbEventCleanups = tbEventCleanups;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "tbUserByAdviceUId")
	public Set<TbDisposalAdvice> getTbDisposalAdvicesForAdviceUId() {
		return this.tbDisposalAdvicesForAdviceUId;
	}

	public void setTbDisposalAdvicesForAdviceUId(
			Set<TbDisposalAdvice> tbDisposalAdvicesForAdviceUId) {
		this.tbDisposalAdvicesForAdviceUId = tbDisposalAdvicesForAdviceUId;
	}
	
//	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "user")
//	public Set<TbUrealGroup> getGroups() {
//		return groups;
//	}
//
//	public void setGroups(Set<TbUrealGroup> groups) {
//		this.groups = groups;
//	}

}